//
//  GlobTool.h
//  爆米花视频
//
//  Created by mac on 14-11-3.
//  Copyright (c) 2014年 mac. All rights reserved.
//  保存一些全局变量

#import <Foundation/Foundation.h>
#import "Singleton.h"
@class AppUpdate;
@interface GlobTool : NSObject
singleton_interface(GlobTool)
// 检查更新回调block
typedef void (^AppUpdateSuccessBlock)(AppUpdate *update);
typedef void (^AppUpdateFailureBlock)(NSError *error);

@property (nonatomic, copy) NSString *deviceToken;
@property (nonatomic, assign, readonly) BOOL isHaveNewVersion;
@property (nonatomic, copy) NSString *versionsStr;
@property (nonatomic, copy) NSString *upappUrl;
@property (nonatomic, copy) NSString *versions;
@property (nonatomic, copy) NSString *appVersion;


#pragma mark 初始化用户配置
- (void)initUserConfig;


//获取UUID唯一标示
+ (NSString *)getIOSuuid;

@end
